package person.bing.fbcloud;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;

@EnableDiscoveryClient
@SpringBootApplication
@EnableFeignClients(basePackages = "person.bing.fbcloud.service")
@ComponentScan(basePackages = {"person.bing.fbcloud"})
@EnableResourceServer
public class FbcloudForumApplication {

	public static void main(String[] args) {
		//咱也不知道，咱也不敢问
		System.setProperty("es.set.netty.runtime.available.processors", "false");
		SpringApplication.run(FbcloudForumApplication.class, args);
	}

}
